InputPanel for WinForms | ComponentOne
C1.Win.4.8 Assembly / C1.Win.Collections.ObjectModel Namespace / ObservableDictionary<TKey,TValue> Class / Remove Method / Remove(TKey) Method
The key of the element to remove.

In This Topic
    Remove(TKey) Method
    In This Topic
    Removes the element with the specified key from the ObservableDictionary<TKey,TValue>.
    Syntax
    'Declaration
     
    Public Overloads Function Remove( _
       ByVal key As TKey _
    ) As Boolean
    public bool Remove( 
       TKey key
    )

    Parameters

    key
    The key of the element to remove.

    Return Value

    true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original ObservableDictionary<TKey,TValue>.
    See Also